package com.huatao.subject.application.convert;

import com.huatao.subject.application.dto.SubjectInfoDTO;
import com.huatao.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SubjectInfoConvert {

    SubjectInfoConvert INSTANCE = Mappers.getMapper(SubjectInfoConvert.class);

    SubjectInfoBO convertSubjectInfoDtoToBo(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertSubjectInfoBoToDto(SubjectInfoBO bo);
}
